//
//  HZBaseListViewController.h
//  HZ
//
//  Created by huazi on 14-8-5.
//  Copyright (c) 2014年 HZ. All rights reserved.
//

#import "HZBaseViewController.h"

@interface HZBaseListViewController : HZBaseViewController
#pragma mark - For Search Page Data
@property (nonatomic, strong) NSMutableArray *pageDataArr;
@property (nonatomic) BOOL isDefault;      //Default  NO  YES的时候就是要去掉另外一个页面加载全部
@property (nonatomic) NSInteger currentPage;
- (void)setTotalPages:(NSInteger)totalPage;

#pragma mark - Refresh Control And Request Latest Data

- (void)addRefreshHeader:(UIScrollView *)scrollView;
- (void)addRefreshHeaderAndFooterView:(UIScrollView *)scrollView;
- (void)endRefreshControlLoading;

#pragma mark -override
- (void)loadDataWithCurrentpage:(NSInteger)currentpage;
- (void)loadAllDataWithOtherVC;   //when isDefault  YES need  override
@end
